package com.gitee.business.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-12-20
 */
@TableName("ACCOUNT_TYPE")
public class AccountType extends Model<AccountType> {

    private static final long serialVersionUID = 1L;

    @TableId("TYPE_ID")
	private String typeId;
	@TableField("DESCRIPTION")
	private String description;


	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	protected Serializable pkVal() {
		return this.typeId;
	}

	@Override
	public String toString() {
		return "AccountType{" +
			"typeId=" + typeId +
			", description=" + description +
			"}";
	}
}
